package com.mybatis05.bean;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: zhaoxb
 * @Date: 2019-08-02 09:59
 * @Version 1.0
 **/
@Data
@NoArgsConstructor
public class Student {
    /** id属性*/
    private Integer id;
    /** 名字属性*/
    private String name;
    /** 年龄属性*/
    private int age;
    /** 分数属性*/
    private double score;

    public Student(String name, int age, double score) {
        this.name = name;
        this.age = age;
        this.score = score;
    }
}
